package home1ess.passport.pojo.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
@TableName("user")
public class UserRegPO implements Serializable {

    @TableId(type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    Long id;
    String phoneNumber;
    String password;

    String nickname;

    // 是否是房主
    Integer isHouseholder;

    //是否是管理员
    Integer isAdmin;
}
